package com.test.io.bean;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * Created by cl2567 on 2017/11/27.
 */

public class LookProductTags {

    /**
     * configVersion : LT20171127
     * productInfo : {}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private String configVersion;
        private Map<String, ProductData> lookInfo;

        public String getConfigVersion() {
            return configVersion;
        }

        public void setConfigVersion(String configVersion) {
            this.configVersion = configVersion;
        }

        public Map<String, ProductData> getLookInfo() {
            return lookInfo;
        }

    }

    public static class ProductData {
        private int jumpType;//1:shopping cart;0:shopping bag.
        private String jumpLink;
        private List<TagInfo> productInfo;

        public int getJumpType() {
            return jumpType;
        }

        public String getJumpLink() {
            return jumpLink;
        }

        public void setJumpType(int jumpType) {
            this.jumpType = jumpType;
        }

        public void setJumpLink(String jumpLink) {
            this.jumpLink = jumpLink;
        }

        public void setProductInfo(List<TagInfo> productInfo) {
            this.productInfo = productInfo;
        }

        public List<TagInfo> getProductInfo() {
            return productInfo;
        }
    }

    public static class TagInfo implements Serializable {
        /**
         * title : BEACH-BLONDE
         * price : 898
         * iconUrl : https://content.perfect365.com/explore/svr/Wig/VIBRANT-RED.png
         * viewUrl : http://52.87.70.26:8080/svr/page/edit/product-display?id=193
         * storeUrl : 9898
         * eventName : sdsdd
         * featureCode : 004
         */

        private String title;
        private String price;
        private String iconUrl;
        private String viewUrl;
        private String storeUrl;
        private String eventName;
        private String featureCode;
        private String productDescription;
        private String watchButtonText;
        private String buyButtonText;

        @Override
        public int hashCode() {
            int result = 17;
            result = result * 31 + (title == null ? 0 : title.hashCode());
            result = result * 31 + (price == null ? 0 : price.hashCode());
            result = result * 31 + (iconUrl == null ? 0 : iconUrl.hashCode());
            result = result * 31 + (viewUrl == null ? 0 : viewUrl.hashCode());
            result = result * 31 + (storeUrl == null ? 0 : storeUrl.hashCode());
            result = result * 31 + (eventName == null ? 0 : eventName.hashCode());
            result = result * 31 + (featureCode == null ? 0 : featureCode.hashCode());
            result = result * 31 + (productDescription == null ? 0 : productDescription.hashCode());
            result = result * 31 + (watchButtonText == null ? 0 : watchButtonText.hashCode());
            result = result * 31 + (buyButtonText == null ? 0 : buyButtonText.hashCode());
            return result;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getIconUrl() {
            return iconUrl;
        }

        public void setIconUrl(String iconUrl) {
            this.iconUrl = iconUrl;
        }

        public String getViewUrl() {
            return viewUrl;
        }

        public void setViewUrl(String viewUrl) {
            this.viewUrl = viewUrl;
        }

        public String getStoreUrl() {
            return storeUrl;
        }

        public void setStoreUrl(String storeUrl) {
            this.storeUrl = storeUrl;
        }

        public String getEventName() {
            return eventName;
        }

        public void setEventName(String eventName) {
            this.eventName = eventName;
        }

        public String getFeatureCode() {
            return featureCode;
        }

        public void setFeatureCode(String featureCode) {
            this.featureCode = featureCode;
        }

        public String getProductDescription() {
            return productDescription;
        }

        public String getWhatchButtonText() {
            return watchButtonText;
        }

        public void setProductDescription(String productDescription) {
            this.productDescription = productDescription;
        }

        public void setWatchButtonText(String watchButtonText) {
            this.watchButtonText = watchButtonText;
        }

        public void setBuyButtonText(String buyButtonText) {
            this.buyButtonText = buyButtonText;
        }

        public String getBuyButtonText() {
            return buyButtonText;
        }
    }


}
